<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', 'AlertController@index')->name('index');

Route::get('alert/create', 'AlertController@create')->name('alert.create');

Route::get('getAlertList', 'AlertController@getAlertList');
Route::get('getAlertInfo', 'AlertController@getAlertInfo');
Route::get('getStationList', 'AlertController@getStationList');
Route::get('getAlertType', 'AlertController@getAlertType');

Route::post('addAlert', 'AlertController@addAlert');
